package com.example.xm.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName product
 */
@Data
@ToString
public class Productentity implements Serializable {
    /**
     * 
     */
    private Integer id;
    private Integer baozhiqi;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String descImg;
    private String typeName;

    /**
     * 
     */
    private BigDecimal price;
    private BigDecimal jinjia;

    /**
     * 
     */
    private Integer typeId;
    private Integer xiaoliang;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date daoqiTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date scTime;

    /**
     * 1正常2下架
     */
    private String status;
    private String img;

    /**
     * 
     */
    private Integer kucun;

    private static final long serialVersionUID = 1L;
}